﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public static class HoaDonSPBUS
    {
        public static List<HOADON_SP> layDSHDSP()
        {
            return HoaDonSPDAO.layDSHDSP();
        }

        public static int layMaHDLonNhat()
        {
            return HoaDonSPDAO.layMaHDLonNhat();
        }

        public static bool themHoaDonSP(HOADON_SP hoaDonSP)
        {
            return HoaDonSPDAO.themHoaDonSP(hoaDonSP);
        }

        public static bool capNhatHoaDon(HOADON_SP hoaDon)
        {
            return HoaDonSPDAO.capNhatHoaDon(hoaDon);
        }
    }
}
